package com.conversationboard.logger;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.OutputStream;
import java.io.PrintStream;
import java.io.UnsupportedEncodingException;
import java.util.Date;

public class ConversationBoardPrintStream extends PrintStream {

	public void println(String line) {
		Logger.log(new Date(), line, null, LogMessageType.SERVER);
	}


	public ConversationBoardPrintStream(File file, String csn) throws FileNotFoundException, UnsupportedEncodingException {
		super(file, csn);
	}


	public ConversationBoardPrintStream(File file) throws FileNotFoundException {
		super(file);
	}


	public ConversationBoardPrintStream(OutputStream out, boolean autoFlush, String encoding) throws UnsupportedEncodingException {
		super(out, autoFlush, encoding);
	}


	public ConversationBoardPrintStream(OutputStream out, boolean autoFlush) {
		super(out, autoFlush);
	}


	public ConversationBoardPrintStream(OutputStream out) {
		super(out);
	}


	public ConversationBoardPrintStream(String fileName, String csn) throws FileNotFoundException, UnsupportedEncodingException {
		super(fileName, csn);
	}


	public ConversationBoardPrintStream(String fileName) throws FileNotFoundException {
		super(fileName);
	}

}
